<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!doctype html>
 <html lang="zh-CN">
 <head>
   <meta charset="UTF-8">
   <%@ include file="/share/systemInclude.jsp" %>
   
   <script type="text/javascript">
      $(function(){  
        $(".list_table").colResizable({
          liveDrag:true,
          gripInnerHtml:"<div class='grip'></div>", 
          draggingClass:"dragging", 
          minWidth:30
        }); 
        
        //表单提交前 验证 表单
        $("#updateForm").Validform({
			btnSubmit : "#btn_sub",
			tiptype : 3,
			beforeCheck:function(curform){
				 
			 },
			 beforeSubmit:function(data){
				 
			 }
		});
        
      });
   </script>
   <title>Document</title>
 </head>
 <body>
  <div class="container">
   <div id="forms" class="">
        <div class="box">
          <div class="box_border">
            <div class="box_top">
            	<b class="pl15">
            		站内信详情:
            	</b>
            </div>
            <div class="box_center">
              <form id="updateForm" action="" class="jqtransform" method="post">
               <input type="hidden" name="letterId" value="${letter.letterId }" class="input-text lh30" size="40"/>
               <table class="form_table pt15 pb15" width="100%" bletter="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td class="td_right">站内信标题：</td>
                  <td class=""> 
						${fn:escapeXml(letter.letterTitle)}
                  </td>
                </tr>
                <tr>
                  <td class="td_right">发送类型：</td>
                  <td class=""> 
						<c:if test="${letter.letterType == 1 }">用户发送给店铺</c:if>
						<c:if test="${letter.letterType == 2 }">店铺发送给用户</c:if>
                  </td>
                </tr>
                <tr>
                  <td class="td_right">店铺名称：</td>
                  <td class=""> 
                  	${fn:escapeXml(letter.letterShopName)}
                  </td>
                </tr>
                <tr> 
                  <td class="td_right">店铺状态：</td>
                  <td class=""> 
                  		<c:if test="${letter.letterShopStatus == 0}">发送</c:if>
						<c:if test="${letter.letterShopStatus == 1}">未读</c:if>
						<c:if test="${letter.letterShopStatus == 2}">已读</c:if>
                  </td>
                </tr>
               <tr >
                  <td class="td_right">用户名称：</td>
                  <td class="">
                    	${fn:escapeXml(letter.letterUserName)}
                  </td>
                 </tr>
                <tr> 
                  <td class="td_right">用户状态：</td>
                  <td class=""> 
                  		<c:if test="${letter.letterUserStatus == 0}">发送</c:if>
						<c:if test="${letter.letterUserStatus == 1}">未读</c:if>
						<c:if test="${letter.letterUserStatus == 2}">已读</c:if>
                  </td>
                </tr>
                <tr>
                  <td class="td_right">发信人电话：</td>
                  <td class=""> 
						${fn:escapeXml(letter.letterPhone)}
                  </td>
                </tr>
                <tr>
                  <td class="td_right">关联订单编号：</td>
                  <td class=""> 
						<c:if test="${not empty letter.letterOrderId }">
							<a href="${root }/control/order/orderItemController/dispalySysDetail.do?orderId=${letter.letterOrderId }">${fn:escapeXml(letter.letterOrderId)}</a>
						</c:if>
                  </td>
                </tr>
                <tr>
                  <td class="td_right">站内信内容：</td>
                  <td class=""> 
						<div style="width: 450px;">
							${fn:escapeXml(letter.letterContent)}
						</div>
                  </td>
                </tr>
                <tr>
                  <td class="td_right">创建时间：</td>
                  <td class=""> 
                  		<fmt:formatDate value="${letter.letterCreateTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
                  </td>
                </tr>
                 <tr>
                   <td class="td_right">&nbsp;</td>
                   <td class="">
                    <input type="button" name="button" class="btn btn82 btn_res" value="返回" onclick="location.href='javascript:history.go(-1)'"> 
                   </td>
                 </tr>
               </table>
               </form>
            </div>
          </div>
        </div>
     </div> 
  </div> 
 </body>
 </html>
  